package com.punai.standard.domain;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.punai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工序分包费用项 关联工序对象 sta_link_fb_gx
 *
 * @author zxw
 * @date 2022-12-13
 */
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(20)
public class StaLinkFbGx extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ExcelProperty("ID")
    private String id;

    /**
     * 公司id
     */
    @ExcelIgnore
    private String versionId;

    /**
     * 分包费用项id
     */
    @ExcelProperty("分包费用项id")
    private String fbId;

    /**
     * 工序id
     */
    @ExcelProperty("工序id")
    private String gxId;

    /**
     * 主项
     */
    @ExcelProperty("主项")
    private String subject;

    /**
     * 排序
     */
    @ExcelProperty("排序")
    private Integer sort;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setFbId(String fbId) {
        this.fbId = fbId;
    }

    public String getFbId() {
        return fbId;
    }

    public void setGxId(String gxId) {
        this.gxId = gxId;
    }

    public String getGxId() {
        return gxId;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSubject() {
        return subject;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("versionId", getVersionId())
                .append("fbId", getFbId())
                .append("gxId", getGxId())
                .append("subject", getSubject())
                .toString();
    }
}
